package com.stone.bypass.proxy.core.config;

import com.stone.bypass.proxy.core.support.DiversionSelector;
import java.util.function.Function;

/**
 * @Auther: stone
 * @Date: 2021/3/7 23:57
 * @Description:
 */
public class DiverterAnnoConfig {

    private String[] key;

    private Function<Object, Object> keyEvaluator;

    private DiversionSelector selector;

    public String[] getKey() {
        return key;
    }

    public void setKey(String[] key) {
        this.key = key;
    }

    public Function<Object, Object> getKeyEvaluator() {
        return keyEvaluator;
    }

    public void setKeyEvaluator(Function<Object, Object> keyEvaluator) {
        this.keyEvaluator = keyEvaluator;
    }

    public DiversionSelector getSelector() {
        return selector;
    }

    public void setSelector(DiversionSelector selector) {
        this.selector = selector;
    }

}
